package com.example.mypigcar.pojo.dto;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * order
 * @author 
 */
@Data
@ApiModel("下订单DTO")
public class TOrderDTO implements Serializable {

    /**
     * 车辆id
     */
    @ApiModelProperty("车辆ID")
    private Integer carId;

    /**
     * 提车时间
     */
    @ApiModelProperty("提车时间")
    private Date startTime;

    /**
     * 还车时间
     */
    @ApiModelProperty("还车时间")
    private Date endTime;

    /**
     * 还车地点
     */
    @ApiModelProperty("还车地点")
    private String returnPlace;


    /**
     * 租车费用
     */
    @ApiModelProperty("租车费用")
    private BigDecimal rentCarExpenses;

    /**
     * 租车时长
     */
    @ApiModelProperty("租车时长")
    private Date rentCarTime;


    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    private static final long serialVersionUID = 1L;
}